Yes, you can substitute the heavy whipping cream and cream cheese with non-dairy alternatives such as coconut cream and vegan cream cheese. The texture and flavor might vary slightly, but it will still make a delicious dairy-free tart.