Yes, there are definitely free online farming games out there, and they can be quite addictive in their own way. One of the most well-known examples is FarmVille, which you can find on Facebook.
Farming games let you plant crops, raise animals, and grow your virtual homestead over time, offering a relaxing, casual experience. Opinions on them vary, some players love the laid-back pace while others find them repetitive, but they're undeniably popular.
If you're curious, FarmVille is an easy, free place to start and see whether the farming-game style appeals to you.