Yes, it can be done however it will give the dessert a different flavor because mascarpone is milder than cream cheese.