Yes. The easiest setup is to have the Discourse droplet use a subdomain while the WP site uses the main domain.