Yes, you’ll just need a huge electric service or huge gas piping, depending on how it’s powered.
Tankless water heaters cannot be installed without a huge expense because of that.
Mine was installed 17 years ago, in my condo, with existing 110v electric and same gas service as tank heater used. Recouped the $5,500 cost in under 6 years.
I had a small tankless unit installed in my Nursery/Garden Center Main Building Office, when I built the 20ac facility, in 1990. Cost was about $1,000 during construction.
No need for anything unusual — unless you’re planning to supply a whole condo or commercial complex, and they get better-performing units, every 5 year cycle, or so.