In a way you can, by deriving a class from DataAccessAdapter and in the constructor (or in a method, what you prefer) you call the procedure to set a role, after opening hte connection.
Keep in mind that application roles are not very nice to work with and you will run into problems, as connection pooling has to be switched off, and scalability therefore degrades. Better is to use Sqlserver roles.