There’s an existing feature suggestion discussing the option to create filters based on file paths or components of paths (e.g. certain folders / subfolders). With this filter option you could also create smart playlists based on file folder locations. I therefore suggest you comment/vote in that thread in order to avoid distracting or cannibalizing votes.