Can I configure and manage windows VMs through ansible in windows?
Ansible can generally manage Windows versions under current and extended support from Microsoft. Ansible can manage desktop OSs including Windows 7, 8.1, and 10, and server OSs including Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016, and 2019. check this useful documentation Setting up a Windows Host — Ansible Documentation
Yes, you can.
You need to configure the Windows machine with WinRM listener but it is pretty straightforward.
Check: Windows Automation Using Ansible – techbeatly