TLDR: Yep!
The difference between front and top loading detergent is that top loading detergent generally contains more bubbling ingredients. Bubbles have nothing to do with the quality of the wash, it's related to the way they make people feel when they're washing. Historically, manufacturers believed that more bubbles made people feel it was a ‘cleaner’ clean. Yep, true story.
If you use some top loading detergents in a front loader, they'll bubble too much, and reduce the quality of the wash (because too many bubbles will make it really difficult for your machine to create the friction it needs to wash clothes effectively).
So, if you see a detergent that’s suitable for front and top loaders, it'll indicate that there's no extra bubbling agent.
The other difference between the two machines is the amount of water each uses. Your detergent dosage should be measured based on the amount of clothes, and the amount of water the machine needs to wash them. As there's a big variation in the type of wash and machine (top loaders use nearly double the amount of water a front loader does), it's difficult for us to recommend the exact right amount. Some manufactures bottle the same detergents separately to make the dosage clear.
Our dosage recommendation is for an 8kg front loader, so use that as a guideline to find the best dose for you.