As long as you don’t let the hot chocolate come to a boil, the oat milk will not curdle. If needed, reduce the heat to keep it at a low simmer.