Yes, for this you should use a watch-only address - use the importaddress API to add any address to the node and start tracking its balance. Various query balancing APIs have an includeWatchOnly parameter which sets whether or not to include watch-only addresses in the outputs or totals.