Yes. The subtool gimme roc from GimmeMotifs can do this (as can Homer and many other tools). For GimmeMotifs, you can install it via bioconda and run the following command:
$ gimme roc subset.fa all_promoter.fa -r roc.report
Here subset.fa are your promoters of interest and all_promoters.fa are (a random selection of) all other promoters as background. The output directory roc.report will contain an html file with a report.