Is what you are asking for similar to what a lot of news papers do? For example, as an anonymous user, I can view the front page and category pages of the New York Times:
If I then try to visit an article, I’m shown something like this:
The reason I am asking in this way is because I think the idea has been mentioned on this forum a few times. I like the idea. It might be useful to show that this is a common way that subscription based publications get users to subscribe. The idea might be useful for some Discourse sites - especially sites that are trying to attract paid subscribers.

