Is there a way of inserting a tilde (~) on a German keyboard without having to press space afterwards?

If you switch to the Input Source called "German Standard", you can get ~ via Option + +.