You cant edit the way the stock text messaging system works unless you JB your iphone.
Then you can have a toggle to turn on/off the text alerts, you can hide the name of the person texting you when the window pops up, you can put a passcode when someone tries to open your messages icon and many others.