Can I install "HTC Wildfire" or "Sony Ericsson Xperia X10 mini" firmware on "Samsung Galaxy Pocket"?
You shouldn't do that thing. Take in mind that each device is special and each firmware is specifically made for that device. 

If you try to flash a different firmware you will brick you phone.