Can I get confirmation time from txid (tx_hash)?
Is it possible? or Do you have any better ideas?


No. You can predict with probability, but you cannot know for certain. Because block generation is a Poisson random event with an average discovery time of 10 minutes.