can I use a momentary button on a analog pin?

Nope. Not using the pullup resistor. The pullup uses less power. The logic is just reversed.