Honestly, unless you have some sort of specific need for Homelink (which I have always found to be a royal PITA to program on all of our cars (maybe it's because our openers use rolling codes, don't know), why not just get a brand name opener on Amazon and program it yourself? I don't know what visors cost for the Ram, but I had to pay to replace them on my wife's Pilot (they wouldn't stay up, and then when they came down they would snap forward, extremely annoying) and they were stupidly expensive, and that was several years ago before our post-Covid inflation. I want to say $150 each visor, they had lighted mirrors, but the opener was built into the overhead console. Building the opener into the driver visor probably forces the price up considerably.
My old BMW has the old fashioned garage door opener clipped to the center console. You know what? It always works, it has better range, and when we had to change the openers a few years ago I was able to reprogram it in like 20 seconds. If the truck came with it, I 'd use it but I wouldn't be spending potentially hundreds of dollars, plus my time, to install something that really has no bearing on your use or enjoyment of the truck.
Final thought is that if this is something you really want, the big national junkyard chains like LKQ have parts locators based on brand / model. If they don't have a vehicle of the type you want, they will email you when one comes in. If it is a local yard, then you can go and pull it yourself. So long as no one bled on it during the impact, you should be good to go - don't think there were too many color options either. Nothing like a fun outing to the junkyard! I've gotten some pretty good deals over the years, so long as the part is one where what you see is what you get.
Just my .02. Good luck.