Licensing as an agency for a customer

Hello, I am an advertising agency and I want to create websites for various customers. Can I take out a monthly subscription and then e.g. B. Buy photos or Wordpress themes or plugins in my name and then license them for my customer’s website? I would then settle the subscription costs 1: 1 with my customer. Or does my customer have to buy the subscription and then give me the things so that I can use them for the website? If I cancel the subscription after one month, can I still use the themes, photos or plugins that I have purchased or can I only use them for as long as the subscription runs? Greets Holger