yes. that is correct. the more pressure the more energy exerted. If the pressure is contained in a closed brass case with a bullet crimped in one end then the case is contained in a breech of some sort with only an opening for the bullet then you will get the energy of the powder exerted (mostly) on the bullet.
bullet energy is strictly a function of weight and velocity.
lazs