I have and all kinds. If you use shellac as a sealer make sure you let it dry a very long time. Weeks if you can. This is because when you buff out your finish with any mechanical device; buffing wheel, pad on drill, pad on orbital sander, etc. you will create heat. The melting temp. of shellac is lower than lacquer so you run the risk of the shellac sealer coat softening and the bubbling up under the rest of your finish. Vinyl sanding sealer is much easier to use IMO and I use about a can to seal a body. You need to get your sealer coat as smooth as possible, about 320 grit and the end grain will suck up a lot more than you think before you have enough material on it so its smooth. I'll assume you are using rattle cans so you will need to do more sanding to get your surfaces smooth than you would under perfect conditions (controlled humidity, temp, in the room, spray booth, gun/compressor, etc.).
You can spray paint without primer , like Gibson does, but primer helps with paint adhesion, so that's why I use it. In addition, like you stated, a sealer coat blocks the wood from absorbing primer/ paint color so if you decided one day to strip the finish off and go natural with it you're not sanding the old color out of the wood. It makes life easier.
Cost wise it's cheaper to use Behlen's Vinyl Sealer for stringed instruments than shellac.
Just one sample of prices from one source.
Vinyl sanding sealer cost:
9.99
https://www.rockler.com/behlen-vinyl-sealer-for-stringed-instruments-13-oz Shellac cost:
$13.99
https://www.rockler.com/zinsser-clear-spray-shellac