Ansible for windows and Linux

Can we install ansible for linux and windows on a single linux machine.

We have ansible in linux which supports for ssh connections, so want to check whether i can install winrm also on same machines

Yes, actually that is ONLY supported way. Ansible supports managing
windows machines but not as controllers.