Can one application be linked to with two different accounts firebase?

I think not, because firebase will be linked to one json file.only.

may be if you use webcomponent. you can do it. See this thread to know hot to use firebase with web component: