There's no relationship between RAIM and RNP, but I suppose RAIM could be integrated into ANP. ANP is not an absolute measure of the aircrafts position error but a mathematical prediction of how large the position error may be. If RAIM is not available then the ANP could be increased to account for that.