Totto, as the others have said they are very straightforward to add on. If wired in with your cut-out switch they will function just like you describe. Here is the one Ducati use on their race bikes and it is available from Farnells (
tip over switch) for a tenner.
Make sure you mount it vertically with the wires exiting from the bottom. Usually it's mounting clip is riveted on the side of the battery tray.