Hi ShankarG welcome to the forum
I’m a bit confused as to what your intent is.
I think of Category - Topic → Post as being kind of “top down”, “parent - child”, or “has many - has one” type of relationship.
Your first mock-up has separate inputs for Category and Sub-Category. Currently, Sub-Categories are just Categories that have a parent Category.
And there is only one input that is only available for New Topic, not for replies to an existing topic.
Your second mock-up shows the category breadcrumb in a posts topic meta data. Currently this information shows in headers not per post.
Can you please explain more as to what you are wanting to do and why.
I imagine it would be possible to do with a plugin, but there may be different ways to approach whatever it is you are wanting to do.