Yes, you can index backlinks from a subdomain or subdirectory. Just make sure to use the full URL when submitting the URL for indexing in Google Search Console.