macOS made the tabbing native by giving windows (only of the same app) the ability to get merged into a single window with a tab bar (in Sierra https://www.macworld.com/article/228274/how-to-use-tabs-in-m...). It all has the same behaviors as Safari, including the one of “popping out” a tab into its own window. Apps that use the native window controls and the native window lifecycle manager get it for free and by default, but there is no way to get it otherwise (AFAIK), and apps can opt-out.
Windows 10 had this feature for a while in the Insiders build, called “Sets” (https://arstechnica.com/gadgets/2017/11/tabs-come-to-every-w...), which made every window available to be tabbed together with any other window, from any app, no specific code or framework necessary. It worked very well and was neat af, but it got scrapped :( https://www.windowscentral.com/microsoft-shelves-windows-10-...
There is a reimplementation of this by Stardock https://www.stardock.com/products/groupy/
On a personal note, I’ve been using Arc’s implementation of Spaces and Tabs, and it feels super natural and productive. With some tweaking, I think this would be a great UX for window managers, and I’ve found myself really needing it for my whole OS. Maybe Stage Manager can get there at some point (although right now it is bad as hell).