The trick is to place the projectile against the flash hole of the primer. When shooting hot glue molded bullets, I've found that if I seat the bullet all they way into the case, the bullet comes out with much more force, enough to punch through one side of a cardboard box.
The problem would be to either make a pellet gun that chambers the pellet, then places the primer and seats it as close to the pellet as possible. A shotshell primer might be easier to use because you don't need to "seat it" to get the anvil in contact with the primer.
My one experience with a primer only shot was a 158g 38 special bullet shot with a primer only and chronied at 231 fps @ 10'. That's only about 18 ft-lbs energy. However, translating that to a 7g pellet, that should get you about 1090 fps just barely supersonic. The 38 bullet was seated a the normal depth so against the primer face should get you well into supersonic speed.
There is a primer chart somewhere in cyberspace that listed the energy of each primer in joules or ft-lbs, you could convert that into KE and translate it into velocity of a X-grain weight pellet.
This of course is all speculation. I don't know of any pellet/primer shooting systems.