Yes, you can send messages in Spanish using accented characters! To use an accented character, hold down the character you want to send. i.e.: hold down "a" to see the options of "á" and "ä".
When using most accented characters, the character count changes to require more message credits at a lower number of message credits.
Learn more about how message credits work here.