Is possible but it depends, are you arriving from an international trip like Sao Paulo or Panama? which airline? did you check how often the flight is delayed?. The traffic between both airports is like 30~40min max, but you need to collect your bags which sometimes take longer for big airplanes (widebodies). Any delay can create a headache, but if you are going to do it, make sure you buy it on the same record locator, that way you are protected in case of delays.