Most of the alarm systems I worked with drive their sensors with 12V, so running that voltage is the same as in commercial solutions. yo might add some short circuit protection to prevent accidents or tampering.
In the circuit you are showing, you are sharing a common ground. There is no need to do that if you are using an Optocoupler.
You will allways be running a current to the door contact. how much depends on different factors.