Not all nutrient molecules (not the 'base' npkcamgs elements but the molecules that deliver these building block atoms) can traverse the stomata. The ones that can, go ahead and make a foliar spray, if it floats your boat.
Foliar sprays should be used in reaction to a problem you want to immediately provide for in a local way. You really shouldn't make foliar sprays a daily or weekly maintenance habit. You are better or served learning how to properly feed through the roots so you don't have to bother with a foliar spray.
google can help determine which nutrient molecules can be fed through the foliage.
gunking up stomata over time with repeated foliar sprays is not wise.