Are two circuits allowed to have a common neutral?
It is perfectly fine and within code. The only stipulations are that you must splice the neutral, you cannot use the screws on one device to carry the neutral to the other, and that you must use a two-pole or handle-tied breaker.