No, Happy Feet (2006) isn't based on a true story. It's a Warner Bros. computer-animated musical comedy about Mumble, an emperor penguin who can't sing but tap-dances his way to saving his colony.
The film uses real ecological stakes to power a wholly fictional fable. The science grounds the spectacle; the spectacle sells the science.