Obsidian does not have access to your browser, it brings its own.
There are some security restrictions that basically disable cookies in iframes, regardless of browser.
The Custom Frames plugin (obsidian://show-plugin?id=obsidian-custom-frames | https://github.com/Ellpeck/ObsidianCustomFrames) does allow for creating frames with cookies enabled(on desktop, it does not use iframes).