Hi Raja
Yes, you can install the Two SAP SID's in one Windows MSCS environment,
1. Before stating you have to do the Hardware sizing based on SAP ECC & Portal.
2. At the time of installation you may require to create independent Windows MSCS SAP groups for SAP ECC & portal,
Regards
Ram