I own a small apartment block, and so having maintenance free (or as close to maintenance free as possible) kitchen cabinets and cupboards is important to me. On a working surface like a shelf you need a paint that dries to a HARD film. That's cuz the harder the paint film is, the less easily it's damaged (principally scratched by the hard dishes and pots you slide over it) and the less dirt will become embedded in the paint.
In my case I used a 3 inch roller and a brush to paint my cabinet interiors with Benjamin Moore Melamine in the 303-90 white tint base, and I'm very happy with that paint decision. BM Melamine is a "urethane fortified alkyd" meaning that it's binder consists of a mixture of both alkyd and polyurethane resins. The addition of the polyurethane gives it greater hardness, and that results in the paint standing up better than it would if it were just an alkyd wall paint.
I don't see any reason why you couldn't spray the stuff if you thinned it enough. But, my feeling is that you want a THICK coat of hard paint on the shelves for maximum durability, and that might be done better with a roller than with spraying.