So... you want to have an arbitrary URL path segment that prefixes all your URLs? For example: example.com/path-segment/slug-of-my-wordpress-post.
Yes, you can achieve this by either:
Physically installing WordPress into a subdirectory called /path-segment
Use custom permalinks to create a virtual prefix to all your URLs.
But installing in a subdirectory ...