Yes, you can substitute non dairy milk such as oat milk, etc. However, the texture and creaminess might vary from the original recipe. You want to find a milk with the same fat % as the dairy milk and the same with cream.