It depends on the situation.
If the "thing" is known (specific) to both the speaker and the listener, then yes, it is correct.
However, if the "thing" is unknown (non-specific) to the listener, then you should say "It's quite an exciting thing to do"
However, in natural spoken english, native speakers often disregard this rule and use "the" or "an" indiscriminately (for this sentence specifically).