The short answer is maybe. You have to take both
datasheets and do a side by side comparison.
You have to look at source resources used to see if
the destination chip either has them or something
that looks like a work around solution that could
substitute for functionality.
As far as the programming is concerned, both (PSoC BLE and PRoC BLE) have the same CPU core (ARM M0) and as such are instruction compatible.
But PSoC BLEs have got more inside than just a CPU and a radio: There are fixed function blocks (more than the PRoC) and universal digital blocks (which the PRoC does not have). So the PRoC is not a drop-in replacement and when some internal hardware is used in a PSoC that does not exist within the PRoC the change of the target will lead to some error-messages in Creator.
HW Comparison -
I have an existing design with a CYBL10161-56LQXI PROC.
But Cypress are phasing out PROC and it is now "Not Recommended for new design". Probably on its way to EOL.
Can the CY8C4127LQI-BL473 PSOC be a drop in replacement? Both on HW and SW?