yes, this is possible.
will you be using FedEx rate lookup?
you will need to add a cart column to denote the products that the shipping applies to, for the 2 products, set that column value to 1, for all other products set that column value to 0.
you can then use that column when creating the shipping rule