Yeah, it would basically fire as fast as the spring can bounce the bolt back... which is toooo fast.
You'd basically need a board and solenoid to properly cap the ROF. Which there isn't much room for, UNLESS you were to attach a foregrip to the rail, bore it out, and put the stuff inside that...
Nemo Me Impune Lacessit
Nemo Malus Felix