Hi,
yes, you certainly can install both on the same machine and SQL server. Both product were and are tested on integration stories. Follow the admin guide requirements and you should be OK.
I would personally keep SQL server as standalone machine (instead having SQL + SolarWinds pollers on the same servers), if you haven't done that already.