I have never had hands on with either item.
That said, from closely inspecting each item, I would believe it should be doable. My concern is the threading for the Madbull barrel nut for the rail. I could be wrong in thinking that they might be specific to say, G&P. But having no prior experience with JP accessories, I cannot confirm.
Barrel should fit with minimal if any modification. I don't recall if the A&K SR25 has a hole for the gas tube in the receiver or not. I would imagine so, but the may potentially be something of note.
But TL:DR,
Receiver/handguard threading would be my biggest concern.