Yes, you can use a tanning accelerator in the sun.
However, remember it won’t protect your skin from UV rays.
Always apply sunscreen with at least SPF 30 first to avoid sunburn and skin damage.