bio movies

Is it possible to create a perpetual bio regenerate space station?
say if you had a station with tons of solar panels to generate energy that could be used to recycle both air and water and also create artificial light to grow food for the passengers. such a station would not need to be sent supplies of any kind and generation after generation could live within the station. (an example would be the ship from the movie walle)
There have been some serious designs considered. They even built a completely self-contained environment here on earth with nothing but sunlight going in, and people lived in it for several months.
Ecological, self-sustaining balance in such an environment is a tricky proposition. But of course, humans would be able to make adjustments to various balances as needed. In theory, it’s possible. I think the main problem for a long term environment in space like that would be preventing leaks. Any materials used in seals would degrade with time. This part of the system would need external replenishment.
DragonBall Z Movie 11 ~ Bio-Broly (2/5)