Yes, this can be achieved quite easily by automation anywhere or any other RPA tool, if this is the only functionality you have then you can look into UiPath’s community version as well which is pretty easy to use.
Looking for RPA material from basics! Refer to this video on RPA provided by Intellipaat: