I guess the short answer is NO.
The longer answer is: it depends.
Hard cores will be specific to a chip, and wont be portable.
Soft IPs are usually portable within a manufacturer, unless they are locked to specific series. So things like BRAMs or Altsync rams should compile for multiple families (within Altera/Xilinx) assuming you havent used any family specific features.
IP you build yourself can be portable across several vendors and several families, if you code it in a way that is acceptable to all.
But you are most likely unable to port an entire project, as it will likely a combination of the above.