Recommendations question

I’m going to be working an undergrad position at an Ivy research lab this summer as a high school sophomore. The person who is the head of the group is quite influential at the university, and presumably at other universities as well (they have done a LOT of work in various universities, all of which are very competitive for undergrad admissions). My assumption is that getting a letter of recommendation from them would be highly beneficial, but is it even recommended or allowed?

Also, being a very tech-oriented person, I’ve become quite well-associated with the science, technology, and math teachers at my school. However, I know it is recommended that one gets recs from a liberal arts teacher too, but I have been yet to make any super amazing relationships with any. As I am approaching the halfway mark of HS, I am starting to worry. What should I do, and do I even need a lib art teacher to rec me?

Unless there is a regulation I am unaware of, nothing is “not allowed”. There is simply “not preferred” or “not beneficial”. These usually include family members. A professor should be fine.