Can you still get a mortgage as a retiree?

Can you still get a mortgage as a retiree?