I don't believe there would be a problem as long as you size your conductors accordingly. I'm assumming that your 100 amp panel is a main lug only. If this were the case then your protection and means of disconnection is back at your 150amp panel. I would check with your local inspector, it may fall into an issue on that level.
Best of luck!!!