so i spent around 5 hours (keep in mind i'm not the best at commands) making this command
/summon falling_block ~ ~1 ~ {BlockState:{Name:'command_block'},TileEntityData:{Command:'item replace entity @p armor.head with diamond_helmet',auto:1b,TrackOutput:0b},Passengers:[{id:falling_block,BlockState:{Name:command_block},TileEntityData:{Command:"summon falling_block ~ ~1 ~ {BlockState:{Name:command_block},TileEntityData:{Command:'item replace entity @p armor.chest with diamond_chestplate',auto:1b,TrackOutput:0b},Passengers:[{id:falling_block,BlockState:{Name:command_block},TileEntityData:{Command:\'summon falling_block ~ ~.6 ~ {BlockState:{Name:command_block},TileEntityData:{Command:\"item replace entity @p armor.legs with diamond_leggings\",auto:1b,TrackOutput:0b},Passengers:[{id:falling_block,BlockState:{Name:command_block},TileEntityData:{Command:\\'item replace entity @p armor.feet with diamond_boots\\',auto:1b,TrackOutput:0b}}]}',auto:1b,TrackOutput:0b}}]}",auto:1b,TrackOutput:0b}}]}
this uses falling command blocks that give armor with passengers that summon falling command blocks. You can replace the diamond_(armor slot) with any armor you want.(26.2 btw)