iOS app for toggling bluetooth when iPhone is plugged into dock
Not without Jailbraking. App-Store restrictions prevent any application developers from changing hardware settings. You can always suggest a feature to Apple by visiting http://www.apple.com/feedback/iphone.html