Can new resource B in test case reference the existing resource A manually created on Azure portal

Now I am developing a new resource B. But it depends on resource A which hasn’t been implemented in terraform provider. And we don’t wanna implement resource A since it depends on the third-party paid installation package which is expensive and installation time is about an hour when resource A is created. So this third-party company provided us the resource A installed the required package which is manually created by them. So can new resource B in test case directly reference the existing resource A manually created on Azure portal?