Does LineageOS or OpenGApps have a GMS License and GMS Certification?
Google's stance is that GMS is granted to a device, which then stays with it regardless of any custom ROM the consumer may install. In other words, if you get a stock device that has GMS, then you're allowed to install OpenGApps on any third-party ROM you put on it. However, you're not allowed to install OpenGApps on a device that never had GMS.