Decades ago, my younger brother wanted to grow pitcher plants and other North American carnivorous plants, which do grow in sphagnum moss bogs. He would occasionally get cranberries growing from the sphagnum moss that he put on top of his planters, which were made from hard plastic wading pools designed for children.
All of his cranberries were low sprawling plants, rather than bushes. They grew well, and produced the occasional berry (bear in mind that he was not really trying to grow cranberries). You could try replicating his wading pool planters, filling the planters with peat and sand, with a top layer of sphagnum moss. Make sure to put a drainage hole in the side of the plastic wading pool, maybe 3 or 4 centimeters from the top edge of the pool. I have no idea how many such pools you would need for a good crop of cranberries, nor any idea if there are select cranberry varieties available.