No. Mikaela Banes is played by Megan Fox (dark brown hair) in Transformers (2007) and Revenge of the Fallen (2009). Megan Fox did not return for Dark of the Moon (2011). Her character was written out (off-screen breakup with Sam).
The new female lead in Dark of the Moon is Carly Spencer, played by Rosie Huntington-Whiteley—who is blonde.
Josh Duhamel plays Captain William Lennox (a male soldier), not Mikaela. He has brown hair.
Conclusion: You are conflating Carly (Rosie Huntington-Whiteley, blonde) with Mikaela, or misremembering the actor.