Generally, yes-- but pay me in advance is a request for compensation for work to be done only, while front me the money means 'give me the money first', which may be for work to be done, or may be for a purchase to be made, with the speaker acting as purchasing agent.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.