This is now possible with Mp3tag v3.37-beta.1. You can add a new field _FORMAT via Options → Tag Panel and use %_folderpath% as Value.
_FORMAT
%_folderpath%