Can I limit the permission to view posts/topics only to the user creator?

Sounds more like using group DMs. Users can add other users to group DMs.

Admins can control various permissions to categories based on groups, but regular users cannot set individual access to posts, topics or categories - that is what DMs are for.

API documentation:

Official Discourse API documentation: