First of all this should be in the DBPro board, but I'll answer anyway.
Yes, it is possible. However, you are over thinking the problem. You seem to currently be in what I call the "game specific" state of mind, where you have to be in the programming state of mind. DBPro doesn't have a function that is like, "add unlockable". However, DBPro does support variables (obviously) so you simply create a boolean variable representing the unlockable and set it to false. Then when you want the unlockable unlocked you set the variable to true. I don't know the DBPro syntax so I'll put some pseudo code:
boolean specialGun = false
(This would be in the loop)
if specialGun = true
fire special bullet
In order to unlock the special gun, you would just set specialGun to true. Programming is about using variables and various structures to solve problems. You can't expect everything to be written for you already so if it isn't, use the language to solve the problem. Hopefully you understand what I mean.