Maximise the window with double click

Hey, I am so used to VLC's feature of double-clicking anywhere on the screen so it maximizes the movie I am watching and removes all unnecessary information such as menu bar (but it's not actually MacOS' full screen mode).
I recently started using Apple TV app and would love the same feature to be implemented, and with a bit of hope, I was thinking if that's possible to make using BTT?
Anything will help, as far as I understand, it should maximize the screen when double-clicked, removing Dock and menu bar and when double-clicked again - brings all back (pressing Escape key should be doing the same as the second double-click)
Thanks in advance for your assistance. I am learning code, and would appreciate any help regarding this matter!