Late reply, but theoretically you could, but you do need an appropriate screw or double sided tape to keep it in place and reinstall Windows onto the new drive to get everything set up correctly (that means back up your data!).
Also do pay attention to the type of SSD you are shopping for, as it looks like the connector looks like it is set up for proper blazing fast M.2 NVMe 2280 (22mm wide, 80mm long) SSD. There are some SSDs on the market that have two notches on them which may or may not work with this computer but will still fit.
I’ve found potential replacement speakers here. They look fairly similar to the ones in the A40s, but the resistance value marked on the speakers in the guide vs on the listing is different.
Buyer caution must be taken before actually making the plunge, as sound quality might be different. The listing is from Ali Express after all.