Yes, if you have multiple saving accounts linked in your Internet Banking login, you can select any account to debit funds towards your investments. However, investments will be linked only to the registered account and any redemption / dividend proceeds received will be credited back to the registered account only.
The holding pattern of the investments will be as per the pattern selected at the time of registration and not as per the holding pattern of the saving account that was debited for a transaction.