Of course. You don't "buy" them, though. (Saying you get them "from the church" is a bit misleading. It's not like you get a certificate from the Vatican or anything.)
I received one the other day (which I gave to my deceased father, or any other of my deceased relatives who might need it) by (1) going to confession; (2) receiving Holy Communion; (3) saying an Our Father and a Hail Mary for the intentions of the Pope; and (4) the actual indulgenced act itself, which was saying the rosary with my family.
Total monetary cost: $0, unless you count the gasoline to get to church. Total spiritual benefits for all parties involved: priceless.
And where in Scripture do I find out how to obtain these frequent flyer miles?