Yes*
*The Amazing Spider-Man's Andrew Garfield
starred as one of three Spider-Men in the newly released Spider-Man: No Way Home. The other two were portrayed by Tom Holland and Tobey Maguire.
Spider-Man: No Way Home is MCU canon. Therefore, Andrew Garfield's "Amazing Spider-Man" is part of the MCU, and the film The Amazing Spider-Man is MCU canon, just not on the same timeline/universe as the rest of the MCU. There are a lot of differences between the MCU's world and The Amazing Spider-Man's, however, it is present as an alternate timeline in the MCU.
In addition, the 2021 series Loki introduced us to the idea of infinite variants of various people, including Loki, Mobius, Renslayer, Kang, and so on, due to infinite timelines. This means that Garfield's Peter Parker and Maguire's Peter Parker are both passable as just variants for retcon purposes, but their stories are therefore MCU canon.
Both Garfield's Spider-Man and Maguire's Spider-Man retain memories of the events as their times as Spider-man, and it matches up with the events of the movies:
PARKER (GARFIELD): You know, Max was the sweetest guy... until he fell into a vat of electric eels.
PARKER (MAGUIRE): That'll do it.
Spider-Man: No Way Home
Garfield's Parker remembers what happened to Max Dillon (Electro).
Another example:
PARKER (MAGUIRE): I've made a serum for Dr. Osborn before.
Spider-Man: No Way Home
This references the events of the first Sam Raimi trilogy Spider-Man movie (Spider-Man, 2002).
Furthermore,
both new Spider-Men remember about their villains and what happened to them. It's even reasonable to assume that each had killed their respective villains, due to Maguire's Spider-Man looking much older and Garfield's Spider-Man remembering Gwen Stacy's loss, which came after he had killed both Connors and Electro.