No, Ugram is not based on a true story. It is a fictional story written by Toom Venkat and directed by Vijay Kanakamedala.