Why can't we able to sync our anki pc and ankidroid or ankimobile using LAN?

is it possible to sync anki without using anki web and using LAN instead?

You need to sync your devices thorough ankiweb.

However, you could also export / import / copy / share your collections / database thorough your lan, usb devices, or whatever media, of course

What do you want to do exactly?

i wanted to know that without using ankiweb it is possible to sync our ankidroid and ankipc using lan network