You cannot edit the FileSystem dock via the scripting API. The latest stable (3.1.2) only has an
EditorInterface.select_file() method. Afaict, that is the only method related to the dock at all.
If you want to use that node, then yes, you would need to recreate its features by translating the engine's C++ editor code into script code for some personal node of your own creation.