 Yeah, the Russians have done this multiple times, and NASA recently did this. They just finished a year-long pseudo-Mars mission on Earth, and I don't particularly take these very seriously or consider them that significant. The thing about a Mars mission that really is important is dealing with the difference in gravity.