In my area there has been a program for years where you can sign up to mount a device like this to your bike for pretty much this exact same purpose. From memory it goes behind your seatpost thougho which seems less annoying.
But I haven't heard of any "official" programs.