This practice wasn't allowed for much of the 21st century, but that all changed when FanDuel introduced the same game parlay in 2019 because it figured out how to price in the correlation of events in the same game - i.e.
Over the last few years, same game parlays have become wildly popular with online sportsbooks.