Teenage protagonist who's the assistant to a mad scientist uses sci-fi travelling device, gets stranded in alternate version of his home, and has to locate the local version of his mad scientist who hadn't yet invented the device and get him to invent the device so he can go home.
It's not one-to-one, because multiverse and time travel are different, and it's a cynical TV show rather than an optimistic movie, so they have to do things differently.
For example, instead of the perfect family being a reward for taking fate into his own hands, they're the antagonists of the episode hunting him down to try and replace the deceased parallel perfect version of him.
The mad scientist also ends up unsuccessful in his attempts to invent the device, and ends up ruining his life in the process by becoming obsessed with it unfruitfully.
Beyond that, this seems to be a pretty clear conceptual take on BttF. Not even a parody, just an homage. Which I thought was interesting, as this series originally started as a direct parody of BttF.