Is it possible to cast shadows into a mesh that is not visible?

its because im making an isometric game. And in isometric games, the floor clips the sprites.
So by removing the floor you spare yourself from all these issues.
But removing the floor also removes the shadows.