The platform field definition contains the following
Compose implementation MUST use this attribute when declared to determine which version of the image will be pulled and/or on which platform the service’s build will be performed.
This use of and/or implies it's ok for a definition to use the platform for building only, or running only. I think this should be an and only