Because stars kill stuff with radiation, flares, etc, then die taking planets with them, might it not be easier for living things to live on a rogue planet's moon? Say you had a rogue Jupiter-like planet with tidally heated moons like Europa orbiting it. Europa stays warm inside just from gravity/going around Jupiter. Wouldn't that end up being a safer and longer-lived environment for life or would that not work due to lack of energy?
If the right chemical bath spews from hydrothermal vents on the floor of an ocean on this moon, then perhaps it could host creatures like the ones found around such vents on Earth.
Here is a quote from an article on the subject in NASA Science News:
Instead of photosynthesis, vent ecosystems derive their energy from chemicals in a process called "chemosynthesis." Both methods involve an energy source, carbon dioxide, and water to produce sugars. Photosynthesis gives off oxygen gas as a byproduct, while chemosynthesis produces sulfur... Because they offer an alternative way for life to meet its fundamental need for energy, these vent ecosystems have piqued the interest of astrobiologists -- scientists who study the plausibility of life starting elsewhere in the universe.
The level of tidal heating required for volcanic activity on that level is seen in our solar system on Io, Jupiter's inner moon. In Io's case, it would not remain in an orbit eccentric enough for these forces to act on it in this way if the other large moons of Jupiter weren't preventing its orbit from circularizing. So for such a model there would need to be several moons around this rogue planet, orbiting in a particular way.
There may also be conditions under which rogue planets could support life without any moons involved, as investigated in the article The Steppenwolf: A Proposal for a Habitable Planet in Interstellar Space:
We find that a rogue planet of Earth-like composition and age could maintain a subglacial liquid ocean if it were ≈3.5 times more massive than Earth, corresponding to ≈8 km of ice. Suppression of the melting point by contaminants, a layer of frozen gas, or a larger complement of water could significantly reduce the planetary mass that is required to maintain a liquid ocean.
It wouldn't work. Heat is a form of energy, but thermodynamics means that not all forms of energy are equally valuable. Any form of energy can be converted to heat, but you need temperature differences to turn a fraction of the heat into usable energy.
The hypothetical moon has only a limited amount of heat generation, which also means there are only very small heat differences. Life needs energy in other forms: light for plants, chemical for animals. Converting a very small fraction of a little bit of heat simply can't provide that.
Tidal heat generation occurs most strongly in liquids (oceans), but those are also the environments in which temperature differences are hardest to obtain. The combination of tidal forces and temperature/density differences drive currents which causes mixing, and thus a decrease in temperature differences.