Mathematics does allow for such things:
https://en.wikipedia.org/wiki/Poincar%C3%A9_recurrence_theor...
https://en.wikipedia.org/wiki/Poincar%C3%A9_recurrence_theor...
Poincaré recurrence is about exhausting the phase space in (discrete or continuous) bounded systems.