The platform is not just a flag or metadata that you can change. It just tells you which architecture the image and every binaries inside that were built for. If you have the sourcode of that image, you can rebuild it but only if the base image have a compatible version with the chosen architecture. In this case it is not true, so you would have to rebuild multiple images until have an image which supports arm64