Is it okay to replace "the reason that" with "the reason why" here?
Yes, you are correct. "That" can be used instead of "why" here. Ex: This is the reason that you are late. Ex: This is the reason why you are late.
Get more Native English Expressions >