No — most of the series is single-player. The Sims, The Sims 2, and The Sims 3 are all installed and played locally on your own machine, with no connection needed to run them.
The online side is optional rather than required: The Sims 3 has a store and community features for sharing and downloading content, and The Sims 4 added a gallery for browsing other players' creations. You can ignore all of it and still play the full game.
So think of it as offline-first, with online extras layered on top.