Is it possible that a relaxer triggered hereditary hairloss?? I’m concerned because after using a relaxer, my hair has been falling out for about 4 years now and I know it’s been since I used the relaxer.

It sounds likely that you damaged your hair when you used the relaxers, as they are known to cause hair loss. Much of the time these changes are permanent starting on or around the time of the injury. If your hair has been falling out for 4 years, you probably have another cause for it and it should be looked at my a competent doctor who specializes in this area.