Yes that works. There are two things that don't work though:
1) The flash uploader doesn't work behind htaccess. You can disable it here following the installation:
Admin CP -> Home -> Options -> Attachments -> Use Flash Uploader
2) Paypal callbacks don't work behind htaccess so you can't test payments.