Peter Parker lives a very extraordinary life battling supervillains, fighting off alien symbiotes, and disproving false claims from renegade clones. Time travel doesn't seem beyond the realm of possibilities and Spider-Man has surprisingly traveled Marvel's timestream quite a lot.
Source:https://www.cbr.com/spiderman-best-time-travel-comics/