They are legal. It’s the grenades that are highly regulated.
The M-203's upper is 5.56 automatic fire.
At least it was when I was in the Army.
When you say the 40mm grenades are highly regulated, you mean for law enforcement or military only?