Yes, that is a possibility. I actually thought I had that already.
If you overspend, you get a hull error. Every tab where you can add something should turn red on the field telling you how much over you are. For non-bay cargo, there is also internal storage, located between bays and supplies.