I’m rephrasing my question about creating pages using a WordPress plugin. Hopefully I do a better job.
Most WP plugins instruct the the use to add a page manually and then add a shortcode. This is a very flexible approach in general. BUT, what I’m wondering, is if there’s a way to basically do that for them programmatically. Essentially create a page for them with a specific url e.g “plugin-name/fancy-page” if it doesn’t already exist.
You can do something along the lines of: