Of course. Give her 2 days in a dry location. Might wanna check axle bearings, if not sealed type. check for Water in sump, gearbox, primary; what have you. Drain immediately and refill if U even Suspect water got in. Remove plug(s) and spray in WD 40 while waiting for her to dry. Don't even turn her over until you do this. .
I would NEVER allow this. But, if perchance, it did; I would not only dry but pull every plug and Look for corrosion. Grease the connectors and replace. Charge battery. Check ground/battery connections. Most ECMs and igniters are sealed But my igniter got wet from rain soaking thru seat. Bikeswouldn't rev above 2500 RPM; I hadda take the lid off and dry it under a lamp. Then I sealed top and around connectors.
Once, a hole was worn in my tail light module, rain got in, got flashing red warning lights. Again, dried it, sealed the hole.