So I believe AMCAS does not count Engineering as science courses as they are not in BCPM so I would imagine you would be fine to get a LoR from those classes. I'm not sure if schools will view these letters the same way AMCAS processes them so I would contact your schools of interests to see if they can give specific insight.