I was going to test this but ran out of time. I think it would work, my only worry would be that because jam has added sugar, it could make the frosting much too sweet. I will update once I give it a try.