Most OSes actively discourage/prevent users from creating filenames with leading and or trailing spaces. Nevertheless, it is possible to create these files with a lower level access.
Obsidian currently doesn’t handle files with leading\trailing whitespaces and trims such spaces in wikilinks.