This is possible but is dependent on your environment.
You should search for something like “home assistant mount network storage”.
For example, this or this came up for me.