You can always request an upgrade to a higher class before you board, you can use your miles or pay and get your ticket upgraded to business/premium class then you will be issued a new boarding pass.

However, are there any airlines that provide that *after* boarding? like you call a flight attendant, request an upgrade, pay for it somehow, and then get upgraded on-spot?

Please note, I am talking about *paid* upgrades.