Yes, docking of windows can be implemented as an option. It's vitaly necessary.
On macOS it's very hard to work without docking. Because IDE toolbar, editor, inspector, and messages are 4 independent windows and to hide Lazarus I have to minimize 2 windows (toolbar and editor) and these windows appear as 2 icons in Dock. And inspector and messages windows can't be minimized. A complete mess on the screen! I have to close Lazarus instead of minimizing.